home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 1.7 KB | 86 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-94 by Apple Computer, Inc., all rights reserved.
- #ifndef _CANVASB_
- #define _CANVASB_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODBaseCanvas;
-
- //==============================================================================
- // Classes used in this interface
- //==============================================================================
-
- interface ODPart;
- interface ODFacet;
- interface ODShape;
-
- //==============================================================================
- // ODCanvas
- //==============================================================================
-
- interface ODBaseCanvas : ODObject
- {
- ODGraphicsSystem GetGraphicsSystem();
-
- ODPlatformCanvas GetPlatformCanvas();
-
- ODPart GetOwner();
-
- void SetOwner( inout ODPart owner);
-
- ODFacet GetFacet();
-
- void SetFacet( inout ODFacet facet);
-
- ODBoolean IsDynamic();
-
- ODBoolean IsOffscreen();
-
- ODShape GetUpdateShape();
-
- void ResetUpdateShape();
-
- void Invalidate( inout ODShape shape);
-
- void Validate( inout ODShape shape);
-
- void CheckUpdateShape();
-
-
- #ifdef __SOMIDL__
- implementation
- {
- override:
- somInit,
- somUninit;
-
- releaseorder:
- GetGraphicsSystem,
- GetPlatformCanvas,
- GetOwner,
- SetOwner,
- GetFacet,
- SetFacet,
- IsDynamic,
- IsOffscreen,
- GetUpdateShape,
- ResetUpdateShape,
- Invalidate,
- Validate,
- CheckUpdateShape,
- reserved1;
-
- majorversion = 1; minorversion = 0;
-
- };
- #endif
- };
-
- #endif //# _CANVASB_
-